Skip to content

feat: add reanalyze dead code analysis to all ReScript libs#810

Open
BlueHotDog wants to merge 4 commits intomainfrom
issue-807-add-dead-code-analysis
Open

feat: add reanalyze dead code analysis to all ReScript libs#810
BlueHotDog wants to merge 4 commits intomainfrom
issue-807-add-dead-code-analysis

Conversation

@BlueHotDog
Copy link
Copy Markdown
Collaborator

@BlueHotDog BlueHotDog commented Apr 8, 2026

Closes #807

Summary

  • Added reanalyze DCE config to all 11 ReScript libs that were missing it (bindings, experimental-rescript-webapi, frontman-astro, frontman-astro-browser, frontman-client, frontman-core, frontman-nextjs, frontman-protocol, frontman-vite, logs, react-statestore)
  • Added dead-code-libs matrix CI job covering all 11 libs (mirrors the existing dead-code-client job, uses fail-fast: false so all legs run independently)
  • Added reanalyze pre-push hook to lefthook.yml — all 12 libs (including client) are checked before every push

All libs currently report 0 dead code issues.

Test Plan

  • All 11 matrix legs of dead-code-libs pass in CI
  • Existing dead-code-client job still passes
  • Per-lib unit tests pass (frontman-client, frontman-core, frontman-nextjs, react-statestore, logs)

🤖 Generated with Claude Code


Open with Devin

BlueHotDog and others added 4 commits April 8, 2026 13:57
When a cancelled turn is retried, RetryTurn cleared turnError but left
isAgentRunning as false. The streaming guard (line 852) then silently
dropped all incoming StreamingStarted/TextDelta/ToolCall events from the
restarted execution, causing the server to work but no messages to
appear on the client.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@BlueHotDog BlueHotDog requested a review from itayadler as a code owner April 8, 2026 21:21
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add dead code analysis (reanalyze) to all ReScript libs

1 participant